/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.kramerius.articles.importFromLn.krameriusAccess;

import cz.mzk.kramerius.articles.importFromLn.domain.Issue;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.joda.time.LocalDate;

/**
 *
 * @author Martin Řehánek (rehan@mzk.cz)
 */
public interface VolumeAccess {

    /**
     *
     * @param issue
     * @return PID of the issue or null if there is not such an issue present
     */
    String getIssuePid(Issue issue);

    LocalDate getIssueDate(Integer issueNumber);

    Set<Issue> getIssueSet(); //just for testing, remove afterwords

    String getVolumePid();

    Map<Issue, List<String>> getDuplicateIssuePidMap();

    Set<Issue> getMissingIssues();

    Integer getVolumeNumber();
}
